#!/bin/bash

for((i=10;i<=100;i+=10));
do 
    ./main $i > rs0.txt;
    tail -n 2 rs0.txt >> rs1.txt;
done
